package com.shuwen.gcdj.mapper.mysql.Statistic;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shuwen.gcdj.bean.conditionMonitoring.response.StatisticsSensorResp;
import com.shuwen.gcdj.entity.statistics.StatisticsSensor;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 设备传感器表（震动应变）
 * @author XYC
 */
public interface StatisticsSensorMapper extends BaseMapper<StatisticsSensor> {

    /**
     * 位置查询传感器
     * @param positions
     * @return
     */
    List<StatisticsSensorResp> getList(@Param("positions") List<Integer> positions,@Param("equipmentCode") String equipmentCode);

}
